<?php

declare (strict_types = 1);

namespace app\adminapi\validate;

use think\Validate;

class ConfigValidate extends Validate
{
    protected $rule = [
        'title'  => 'require|max:32',
    ];

    protected $message = [
        'title.require' => '配置标题不能为空',
        'title.max' => '配置标题不能超过32个字符',
    ];

}